package org.summer.lawyer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.summer.common.mybatis.core.page.PageQuery;
import org.summer.common.mybatis.core.page.TableDataInfo;
import org.summer.lawyer.domain.Banner;
import org.summer.lawyer.domain.vo.banner.BannerCreateVo;
import org.summer.lawyer.domain.vo.banner.BannerUpdateVo;
import org.summer.lawyer.domain.vo.banner.BannerVo;

import java.util.Collection;

/**
 * 
 * 
 * 
 */
public interface IBannerService extends IService<Banner>{

    /**
     * 查询banner列表
     */
    TableDataInfo<BannerVo> selectPage(BannerVo vo,  PageQuery pageQuery);

    void saveBanner(BannerCreateVo vo);

    void updateBanner(BannerUpdateVo vo);

    void deleteBanner(Collection<Long> ids);

    BannerVo selectBannerVoById(Long id);
}
